package cn.zmwh.portal.modules.index.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 话题
 * </p>
 *
 * @author dmzmwh
 * @since 2024-10-02
 */
@Getter
@Setter
@TableName("tl_topic")
@ApiModel(value = "TlTopic对象", description = "话题")
public class TlTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("排序")
    @TableField("`sort`")
    private Integer sort;

    @ApiModelProperty("code")
    private String code;

    @ApiModelProperty("来源")
    private Long origin;

    @ApiModelProperty("1显示 0不显示")
    @TableField("`show`")
    private Integer show;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
